package com.mmc.sqlSession;

import com.mmc.container.Configration;

public class DefaultSqlSessionFactory implements SqlSessionFactory {

    private Configration configration;

    public DefaultSqlSessionFactory(Configration configration) {
        this.configration = configration;
    }

    @Override
    public SqlSession openSession() {
        return new DefaultSqlSession(configration);
    }
}
